package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试任务归档管理对象 exam_archive
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class ExamArchive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 归档ID */
    private Long archiveId;

    /** 原任务ID */
    @Excel(name = "原任务ID")
    private Long taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 归档时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date archiveTime;

    /** 归档人 */
    @Excel(name = "归档人")
    private String archiveBy;

    public void setArchiveId(Long archiveId) 
    {
        this.archiveId = archiveId;
    }

    public Long getArchiveId() 
    {
        return archiveId;
    }

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setArchiveTime(Date archiveTime) 
    {
        this.archiveTime = archiveTime;
    }

    public Date getArchiveTime() 
    {
        return archiveTime;
    }

    public void setArchiveBy(String archiveBy) 
    {
        this.archiveBy = archiveBy;
    }

    public String getArchiveBy() 
    {
        return archiveBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("archiveId", getArchiveId())
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("semester", getSemester())
            .append("archiveTime", getArchiveTime())
            .append("archiveBy", getArchiveBy())
            .append("remark", getRemark())
            .toString();
    }
}
